package com.example.api.repository;

import com.example.api.model.entity.Employee;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeRepository extends JpaRepository<Employee, String> {
    List<Employee> findByNameLike(String name);

//    List<Employee> findByLikeSex(String sex);
}
